npm tools

  • node check update 检查package.json文件里的npm包的更新
1
2
$ npm install -g npm-check-updates
$ ncu -a
  • http-server 开启静态资源服务器
1
2
3
$ npm install -g http-server
$ cd ProjectDirName
$ http-server